package com.his.disposal.service.impl;
import com.his.disposal.mapper.DisposalMapper;
import com.his.disposal.pojo.Employee;
import com.his.disposal.pojo.MedicalTechnology;
import com.his.disposal.pojo.Register;
import com.his.disposal.service.DisposalService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.ArrayList;


@Service

    public class DisposalServiceImpl implements DisposalService {

        @Autowired
        DisposalMapper disposalMapper;
        @Override
        public ArrayList<Register> queryAllDisposal() {
            return disposalMapper.queryAllDisposal();
        }

        @Override
        public ArrayList<Register> queryDisposalByConditions(Register register) {
            return disposalMapper.queryDisposalByConditions(register);
        }

    @Override
    public ArrayList<MedicalTechnology> queryMedicalTechnologyByConditions(MedicalTechnology medicalTechnology) {
        return disposalMapper.queryMedicalTechnologyByConditions(medicalTechnology);
    }



        @Override
        public ArrayList<Employee> queryEmployeeByConditions(Employee employee) {
            return disposalMapper.queryEmployeeByConditions(employee);
        }

        @Override
        public ArrayList<Register> selectById(Register register) {
            return disposalMapper.selectById(register);
        }

    }


